package com.dxs.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname IndexController
 * @Description TODO
 * @Date 2021/10/27 17:35
 * @Created by silence(dxs)
 */
@Controller
@RequestMapping("/index")
public class IndexController {
//    @ResponseBody
    @RequestMapping("/su")
//    @ResponseBody
    public String index(){
        return  "index";
    }
}
